<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<html>
<head>

    <meta charset="UTF-8">
    <title>删除用户页面</title>

    <style>
   .t1{
       position: fixed;
       top: 30%;
       margin-left: 900px;

   }
       #t7{
           position: fixed;
           top: 20%;
           margin-left: 900px;
       }


    </style>

</head>
<body>
<img width="100%" height="100%" src="image/yj01.jpg" style="position:absolute; left:0; top:0; z-index:-1;"/>
<h1 style="color: #FF0000;size: 20px;">管理用户信息页面！</h1>
<form action="deleteU" method="get" class="form-horizontal" style="margin-top: 70px">
        <div class= "col-sm-10" >
            <label  class="col-sm-2 control-label" style="font-size: 30px;text-align: center">DeleteUser:</label><br>
            <div>
                <select style="height:50px;width: 400px;font-size: 20px" name="userName">
                    <option  th:each="user:${users}"  th:text="${user.getUserName()}"></option>
                </select>
            </div>
    </div>

    <div class="form-group">
        <div class="col-sm-offset-2 col-sm-10">
            <button type="submit" class="btn btn-primary btn-lg" style="  margin-top:70px;width: 200px;font-size: 20px;font-weight: bold" >Delete!</button>
        </div>
    </div>

    <div id="t2">

        <div id="t7">
            <label  class="col-sm-2 control-label" style="font-size: 30px;text-align: center;">用户借书信息:</label>
        </div>
        <div id="t6">
            <table class="t1" border="1" align="center"  >
                <tr>
                    <td >书的名字</td>
                    <td >用户的名字</td>
                </tr>

                <tr th:each="order:${orders}" >
                    <td ><a th:text="${order.getUserName()}" ></a></td>
                    <td  ><a th:text="${order.getBookName()}"></a></td>
                </tr>

            </table>
        </div>

    </div>




</form>
</body>

</html>